package com.wy.system.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wy.model.entity.Student;
import com.wy.model.vo.StudentQueryVo;
import com.wy.system.mapper.StudentMapper;
import com.wy.system.service.StudentService;
import org.springframework.stereotype.Service;

@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements StudentService {
  @Override
  public IPage<Student> selectPage(Page<Student> pageParam, StudentQueryVo studentQueryVo) {
    IPage<Student> pageModel = baseMapper.selectPage(pageParam, studentQueryVo);
    return pageModel;
  }
}
